package org.aphasia4j.dao;

import java.util.List;

import org.aphasia4j.dao.core.BaseDao;
import org.aphasia4j.model.Patient;

/**
 * Dao description for handling {@link Patient} related database requests.
 * 
 * @author hillger.t
 */
public interface PatientDao extends BaseDao<Patient> {

  /**
   * Selects all {@link Patient}s which have the given name part in their last
   * name.
   * 
   * @param namePart A non casesensitive name part.
   * @return
   */
  public List<Patient> getPatientsByName(String namePart);
}
